package com.wzy.authority.service.impl;

import com.wzy.authority.domain.SysRoleUser;
import com.wzy.authority.mapper.SysRoleUserMapper;
import com.wzy.authority.service.SysRoleUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @program: authorityManagement
 * @description: 用户  -  权限  关联表服务实现类
 * @author: 1
 * @create: 2020-03-17 21:26
 **/
@Service
public class SysRoleUserServiceImpl implements SysRoleUserService {

    @Resource
    private SysRoleUserMapper sysRoleUserMapper;


    @Override
    public SysRoleUser selectRoleUserByUserId(Integer userId) {
        return sysRoleUserMapper.selectRoleUserByUserId(userId);
    }
}
